div.row-page{
    position: relative;
}
nav>ul.pagination{
    position: absolute;
    right: 0;
    top:0;
    padding: 0;
    margin: 0;
    min-height: 0;
    height: auto;
}

nav>ul.pagination>li.page>a{
    min-height: 0;
    min-width: 0;
    height: 100%;
    line-height: 20px;
    border:0;
    border-radius: 0;
    height: 20px;
    padding: 0;
    color:black;
    width: 20px;
    text-align: center;
}
nav>ul.pagination>li.page{
    background-color: transparent;
}
nav>ul.pagination>li.active{
    background-color: transparent;
}

.row-page  nav ul li.active>a:before {
    content: "";
    font-family: FontAwesome;
    display: block;
    height: 0px;
    line-height: normal;
    width: 0px;
    position: absolute;
    right: -0px;
    font-size: 20px;
    color: #eee;
}
nav ul .active>a{
    border-color: #337ab7
    color: #fff!important;
}
